I'm working on several file types, which have to be saved with different encodings / line endings for the resulting files to work. I'd like to be able to set these in the "Editing" part of the configuration, so that I don't have to change it manually for max 50% of the files I open.
Submitted | engmark - 2006-11-28 - 16:55:20z | Assigned | nobody |
---|---|---|---|
Priority | 7 | Category | None |
Status | Open | Group | None |
Resolution | None | Visibility | No |
2007-06-02 - 21:49:31z ezust |
Logged In: YES user_id=935841 Originator: NO Wow, I was sure this was already possible but I see they are indeed missing! |
---|---|
2008-04-20 - 21:05:25z ezust |
Logged In: YES user_id=935841 Originator: NO kazutoshi, how easy/difficult do you think it would be to allow users to set default line endings and encodings on a mode basis? |
2009-02-07 - 21:12:34z shlomy |
It seems that the code that uses the encodings and line separators (I guess this is
what you mean by "line endings") already supports mode-specific values for them, it's
just not reflected in the user interface (Global Options dialog) for some reason. A user interface for specifying mode-specific values for these settings is one thing; moving these settings from their current option panes (General and Encodings) to Editing is another. The lack of a "mode" combo-box in the option panes of these settings does not mean that these settings should move to another option pane; the current option panes can be enhanced to provide mode-specific settings. So, what do you think should be done? |
2011-11-16 - 20:10:00z ezust |
I think jEdit should be enhanced to provide mode-specific options, and plugins should
be able to offer mode options panes also. Some of the code from SideKick (AbstractModeOptionPane)
can be reused here. I opened a related ticket 1847089 which I think is a duplicate of this. |
2011-11-17 - 18:33:37z evanpw |
Maybe this is already what you meant, but: Abbreviations, Docking, Editing are already
mode-specific options, and now Encodings is also desired. Why not Syntax Highlighting
(this was already voted down, but I like it), Tool Bar (so that mode-specific icons
follow the global ones on the tool bar), and possibly Shortcuts (this might be a lot
of work)? Maybe it would be better to split all the settings into mode-specific and non-mode-specific, and factor the mode combo box out so that it doesn't appear on each pane. |
2011-12-17 - 19:38:51z ezust |
+1 to what evanpw said on 2011-11-17 10:33:37 "Maybe it would be better to split all the settings into mode-specific and non-mode-specific, and factor the mode combo box out so that it doesn't appear on each pane." |